//Cube.cpp
//Contains the function definitions for the Cube Class

#include <iostream>
#include "Cube.h"

using namespace std;

Cube::Cube(const float &p_X, const float &p_Y, float side, float hgt)
	: RectPrism(p_X, p_Y, side, side, hgt)
{

}

float Cube::volume() const
{
	return RectPrism::getRpVol();
}

float Cube::area() const
{
	return RectPrism::getArea();
}

float Cube::perimeter() const
{
	return RectPrism::getPerim();
}

